Re: [INTERFACES] applet don't go

Поиск
Список
Период
Сортировка
От Herouth Maoz
Тема Re: [INTERFACES] applet don't go
Дата
Msg-id l03110706b25a4dd58e74@[147.233.159.109]
обсуждение исходный текст
Ответ на applet don't go  (Andrea Antibo <antibo@mclink.it>)
Ответы Re: [INTERFACES] applet don't go
Re: [INTERFACES] applet don't go
Список pgsql-interfaces
At 17:32 +0200 on 26/10/98, Andrea Antibo wrote:


> I wrote un applet that link postgres, it works fine only if I run it by
> appletviewer. By netscape it don't works.
>
> What I can do?

Applets allow you to connect only to the server on which they live
themselves. That is, if  the Applet's source URL is on machine aaa.bbb.com,
the datbase to which you connect must also be on aaa.bbb.com

Appletviewer is more lenient about this, to allow you to test things from
your own machine etc.

Solutions:

Run Postgres on the same machine as the applet.

or

Write a server which does the connection on behalf of your applet and
returns it the results, and run it on the applet's machine.

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Andrea Antibo
Дата:
Сообщение: applet don't go
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] large object error